package net.handler;

import java.util.List;

import net.entity.QuestionInfo;


public abstract class ProcessHandler implements IProcessHandler {
	
	private String operation;
	private String baseImagePath;
	
	public ProcessHandler(String operation) {
		this.operation = operation;
	}
	
	public ProcessHandler() {
	}
	
	/**
	 * Generates one problem that contain question and answer.
	 * 
	 * @return
	 */
	public abstract QuestionInfo generateSingle();
	
	/**
	 * Generates multiple problems that contain question and answer.
	 * 
	 * @return
	 */
	public abstract List<QuestionInfo> generateMultiple();
	
	public String getOperation() {
		return operation;
	}
	
	public String getBaseImagePath() {
		return baseImagePath;
	}

	public void setBaseImagePath(String baseImagePath) {
		this.baseImagePath = baseImagePath;
	}
		
} //ProcessHandler
